Skip to content

perf(header): optimize HeaderValue creation via zero-copy sharing#81

Merged
0x676e67 merged 1 commit into
masterfrom
perf
Mar 30, 2026
Merged

perf(header): optimize HeaderValue creation via zero-copy sharing#81
0x676e67 merged 1 commit into
masterfrom
perf

Conversation

@0x676e67
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates src/hpack/header.rs to use HeaderValue::from_maybe_shared instead of HeaderValue::from_bytes when creating header values, which likely optimizes memory usage by leveraging shared byte buffers. I have no feedback to provide as there are no review comments.

@0x676e67 0x676e67 merged commit b92bede into master Mar 30, 2026
5 checks passed
@0x676e67 0x676e67 deleted the perf branch March 30, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant